malaria or pneumonia diagnosis